Audio file format

An audio file format is a file format for storing digital audio data on a computer system. This data can be stored uncompressed, or compressed to reduce the file size. It can be a raw bitstream, but it is usually a container format or an audio data format with defined storage layer.

Contents

Types of formats

It is important to distinguish between a file format and an audio codec. A codec performs the encoding and decoding of the raw audio data while the data itself is stored in a file with a specific audio file format. Although most audio file formats support only one type of audio data (created with an audio coder), a multimedia container format (as Matroska or AVI) may support multiple types of audio and video data.

There are three major groups of audio file formats:

Uncompressed audio formats

There is one major uncompressed audio format, PCM, which is usually stored in a .wav file on Windows or in a .aiff file on Mac OS. The AIFF format is based on the Interchange File Format (IFF). The WAV format is based on the Resource Interchange File Format (RIFF), which is similar to IFF. WAV and AIFF are flexible file formats designed to store more or less any combination of sampling rates or bitrates. This makes them suitable file formats for storing and archiving an original recording.

BWF (Broadcast Wave Format) is a standard audio format created by the European Broadcasting Union as a successor to WAV. BWF allows metadata to be stored in the file. See European Broadcasting Union: Specification of the Broadcast Wave Format (EBU Technical document 3285, July 1997). This is the primary recording format used in many professional audio workstations in the television and film industry. BWF files include a standardized timestamp reference which allows for easy synchronization with a separate picture element. Stand-alone, file based, multi-track recorders from Sound Devices,[1] Zaxcom,[2] HHB USA,[3] Fostex, and Aaton[4] all use BWF as their preferred format.

The .cda (Compact Disk Audio Track) is a small file that serves as a shortcut to the audio data for a track on a music CD. It does not contain audio data and is therefore not considered to be a proper audio file format.

Lossless compressed audio formats

A lossless compressed format stores data in less space by eliminating unnecessary data.

Uncompressed audio formats encode both sound and silence with the same number of bits per unit of time. Encoding an uncompressed minute of absolute silence produces a file of the same size as encoding an uncompressed minute of music. In a lossless compressed format, however, the music would occupy a smaller portion of the file and the silence would take up almost no space at all.

Lossless compression formats enable the original uncompressed data to be recreated exactly. They include the common[5] FLAC, WavPack, Monkey's Audio, ALAC (Apple Lossless). They provide a compression ratio of about 2:1 (i.e. their files take up half the space of the originals). Development in lossless compression formats aims to reduce processing time while maintaining a good compression ratio.

Lossy compressed audio formats

Lossy compression enables even greater reductions in file size by removing some of the data. Lossy compression typically achieves far greater compression but somewhat reduced quality than lossless compression by simplifying the complexities of the data.[6] A variety of techniques are used, mainly by exploiting psychoacoustics, to remove data with minimal reduction in the quality of reproduction. For many everyday listening situations, the loss in data (and thus quality) is imperceptible. The popular MP3 format is probably the best-known example, but the AAC format found on the iTunes Music Store is also common. Most formats offer a range of degrees of compression, generally measured in bit rate. The lower the rate, the smaller the file and the more significant the quality loss.

List of formats

See also

References

External links